//安装vuex，引入vuex配置文件用于跨组件通信
import { createStore } from 'vuex';

export default createStore({
    state: {
        isCollapse: false
    },
    mutations: {
        updateIsCollapse(state) {
            state.isCollapse = !state.isCollapse;
        }
    },
    actions: {
    },
    modules: {
    }
});